import java.awt.*;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
@SuppressWarnings("serial")
public class Keretem extends Frame{

	Terrain fold;
	Keretem (){
	
		fold=new Terrain();
		this.add(fold,BorderLayout.CENTER);
		
		addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent e) {
				System.exit(0);
			}
		});
	}
	
	public static void main(String[] args) {
		Keretem ker;
		ker=new Keretem();
		ker.setBounds(0, 0, 800, 600);
		ker.setVisible(true);

	}

}
